﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MQTT.Server.App.Dto
{
    public class ClientDesc
    {

        /// <summary>
        /// 客户端类型
        /// push: 可以发布和订阅
        /// receive: 只能订阅
        /// </summary>
        public string Type { get; set; }

        public string Id { get; set; }

        public string Password { get; set; }

        public string ConnectionId { get; set; }

        public bool Online { get; set; }
        public ClientDesc()
        {
            ConnectionId = "";
            Online = false;
        }
    }


}
